#ifndef __INOTIFY_SUB_H
#define __INOTIFY_SUB_H

#include "gam_subscription.h"

typedef struct {
  gboolean is_dir;
  char *pathname;
  char *dirname;
  char *filename;
  guint32 extra_flags;
  gboolean cancelled;
  void *usersubdata;
} ih_sub_t;

ih_sub_t  *ih_sub_new( const char *pathname, gboolean is_dir, guint32 flags, void *userdata );
void     ih_sub_free( ih_sub_t *sub );

#endif /* __INOTIFY_SUB_H */
